import request from "@/utils/request";



export default {
    getRoleList(data) {
        return request({
            url: '/roles/list',
            method: 'GET',
            data
        })
    },
    operationRole(data) {
        return request({
            url: '/roles/operate',
            method: 'POST',
            data
        })
    },
}